.class public Lcom/example/m6wmr/GiftlogActivity$viewClickListener;
.super Ljava/lang/Object;
.source "GiftlogActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/GiftlogActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "viewClickListener"
.end annotation


# instance fields
.field private controlid:I

.field private giftid:Ljava/lang/String;

.field final synthetic this$0:Lcom/example/m6wmr/GiftlogActivity;


# direct methods
.method public constructor <init>(Lcom/example/m6wmr/GiftlogActivity;Ljava/lang/String;I)V
    .locals 0
    .param p2, "id"    # Ljava/lang/String;
    .param p3, "intcon"    # I

    .prologue
    .line 239
    iput-object p1, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftlogActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 240
    iput-object p2, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->giftid:Ljava/lang/String;

    .line 241
    iput p3, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->controlid:I

    .line 242
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/GiftlogActivity$viewClickListener;)Lcom/example/m6wmr/GiftlogActivity;
    .locals 1

    .prologue
    .line 235
    iget-object v0, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftlogActivity;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 246
    iget-object v0, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftlogActivity;

    iget-object v1, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->giftid:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/example/m6wmr/GiftlogActivity;->access$0(Lcom/example/m6wmr/GiftlogActivity;Ljava/lang/String;)V

    .line 247
    iget v0, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->controlid:I

    if-nez v0, :cond_0

    .line 248
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftlogActivity;

    # getter for: Lcom/example/m6wmr/GiftlogActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/GiftlogActivity;->access$1(Lcom/example/m6wmr/GiftlogActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 249
    const-string v1, "\u786e\u8ba4\u53d6\u6d88\u5151\u6362"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 250
    const-string v1, "\u786e\u8ba4\u540e\u79ef\u5206\u5c06\u8fd4\u56de\u8d26\u53f7"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 251
    const-string v1, "\u786e\u5b9a"

    .line 252
    new-instance v2, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$1;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$1;-><init>(Lcom/example/m6wmr/GiftlogActivity$viewClickListener;)V

    .line 251
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 260
    const-string v1, "\u53d6\u6d88"

    .line 261
    new-instance v2, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$2;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$2;-><init>(Lcom/example/m6wmr/GiftlogActivity$viewClickListener;)V

    .line 260
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 267
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 293
    :goto_0
    return-void

    .line 269
    :cond_0
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/example/m6wmr/GiftlogActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftlogActivity;

    # getter for: Lcom/example/m6wmr/GiftlogActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/GiftlogActivity;->access$1(Lcom/example/m6wmr/GiftlogActivity;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 270
    const-string v1, "\u5220\u9664\u5151\u6362\u8bb0\u5f55"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 271
    const-string v1, "\u5220\u9664\u8be5\u5151\u6362\u8bb0\u5f55"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 272
    const-string v1, "\u786e\u5b9a"

    .line 273
    new-instance v2, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$3;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$3;-><init>(Lcom/example/m6wmr/GiftlogActivity$viewClickListener;)V

    .line 272
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 282
    const-string v1, "\u53d6\u6d88"

    .line 283
    new-instance v2, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$4;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/GiftlogActivity$viewClickListener$4;-><init>(Lcom/example/m6wmr/GiftlogActivity$viewClickListener;)V

    .line 282
    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 289
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0
.end method
